﻿ALTER TABLE [acms].[TemplateHierarchy]
	ADD CONSTRAINT [TemplateHierarchy_FK_ParentId] 
	FOREIGN KEY (ParentId)
	REFERENCES acms.Templates (Id)	

